<template>
  <div class="container">
    <div class="head">
      <div class="photo">
        <img src="../../assets/image/img_touxiang.png" alt="" />
      </div>
      <div class="icon">
        <div class="message">
          <img src="../../assets/image/icon_xiaoxi.png" alt="" />
        </div>
        <div class="setting">
          <img src="../../assets/image/icon_setting.png" alt="" />
        </div>
      </div>
    </div>
    <CateGory />
  </div>
</template>

<script>
import CateGory from "./Category";
export default {
  components: {
    CateGory,
  },
};
</script>

<style scsoped lang="less">
.container {
  background-color: #fff;
  .head {
    position: relative;
    width: 100%;
    height: 3.64rem;
    background-color: #ff5654;
    .photo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      img {
        width: 1.5rem;
        height: 1.5rem;
      }
    }
    .icon {
      color: #fff;
      img {
        width: 0.4rem;
        height: 0.4rem;
      }
      .message {
        position: absolute;
        top: 0.36rem;
        left: 0.2rem;
      }
      .setting {
        position: absolute;
        top: 0.36rem;
        right: 0.2rem;
      }
    }
  }
}
</style>